package com.xqls.service;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.xqls.bean.FlowMeterBean;
import com.xqls.dal.model.FlowMeter;

public interface FlowMeterService {
	
	public boolean add(FlowMeterBean Flow);//增加
	
	public boolean update(FlowMeterBean Flow);//修改
	
	public List<Map<String, Object>> getFlowMetermap(Map<String, Object> map);//根据map查询
	
	public  boolean deleteFlowMeter(List<Integer> ids);//批量删除
	
	public FlowMeterBean flowMeter(Integer key);//根据主键查询
	
	public FlowMeter selectByClose(String close,String deviceNo);//根据结算时间和设备编号查询
	
	public List<FlowMeter> selectBySmonth(Date close,String deviceNo);//根据结算时间查询上个月的数据
	
	List<FlowMeter> getList();
	
	public List<Map<String, Object>> selectBySmonth(Map<String, Object> map);
	
	public List<Map<String, Object>> selectflowcost(Integer companyId,String closeMonth);

	List<Map<String , Object>> getListByMap(Map<String, Object> map);
	
	public FlowMeter selectByTime(String close,String deviceNo);//根据结算时间和设备编号查询
}
